package com.ruoyi.platform.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 设备号永久黑名单对象 t_permanent_blacklist_device
 * 
 * @author ruoyi
 * @date 2025-08-19
 */
public class TPermanentBlacklistDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备永久黑名单ID，自增主键 */
    private Long permanentBlacklistDeviceId;

    /** 应用类型 */
    @Excel(name = "应用类型")
    private String appType;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceNumber;

    /** 最后登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastLoginTime;

    /** 备注说明 */
    @Excel(name = "备注说明")
    private String remarks;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setPermanentBlacklistDeviceId(Long permanentBlacklistDeviceId) 
    {
        this.permanentBlacklistDeviceId = permanentBlacklistDeviceId;
    }

    public Long getPermanentBlacklistDeviceId() 
    {
        return permanentBlacklistDeviceId;
    }

    public void setAppType(String appType) 
    {
        this.appType = appType;
    }

    public String getAppType() 
    {
        return appType;
    }

    public void setDeviceNumber(String deviceNumber) 
    {
        this.deviceNumber = deviceNumber;
    }

    public String getDeviceNumber() 
    {
        return deviceNumber;
    }

    public void setLastLoginTime(Date lastLoginTime) 
    {
        this.lastLoginTime = lastLoginTime;
    }

    public Date getLastLoginTime() 
    {
        return lastLoginTime;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("permanentBlacklistDeviceId", getPermanentBlacklistDeviceId())
            .append("appType", getAppType())
            .append("deviceNumber", getDeviceNumber())
            .append("lastLoginTime", getLastLoginTime())
            .append("remarks", getRemarks())
            .append("status", getStatus())
            .toString();
    }
}
